  -- Akil'zon --
function spell0_23574(pUnit, Event) --@Call Lightning,n/a--
pUnit:FullCastSpellOnTarget(43661,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23574', 821, 1)
end
function spell1_23574(pUnit, Event) --@Electrical Storm,n/a--
pUnit:FullCastSpellOnTarget(43648,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23574', 8000, 1)
end
function spell2_23574(pUnit, Event) --@Gust of Wind,n/a--
pUnit:FullCastSpellOnTarget(43621,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23574', 8000, 1)
end
function Sorts_23574(pUnit, Event)
choix_sorts_23574 = math.random(0, 2)
if choix_sorts_23574 == 0 then
pUnit:RegisterEvent('spell0_23574', 1, 1)
end
if choix_sorts_23574 == 1 then
pUnit:RegisterEvent('spell1_23574', 1, 1)
end
if choix_sorts_23574 == 2 then
pUnit:RegisterEvent('spell2_23574', 1, 1)
end
end
function mob23574_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23574', math.random(1500, 3000), 1)
end
function mob23574_Leave(pUnit, Event)
end
function mob23574_Kill(pUnit, Event)
end
function mob23574_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(23574, 1, 'mob23574_Action')
RegisterUnitEvent(23574, 2, 'mob23574_Leave')
RegisterUnitEvent(23574, 3, 'mob23574_Kill')
RegisterUnitEvent(23574, 4, 'mob23574_Die')
